{% extends 'basic/component.html' %}
{% load staticfiles %}
{% load static %}
{% load i18n %}
{% block pageTitle %}
  {% trans 'Task View' %}
{% endblock %}

{% block pageHeadExtra %}
    <link rel="stylesheet" href="{% static 'css/mlplatform/view_task.css' %}" xmlns="http://www.w3.org/1999/html">
  <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap-select/1.12.4/css/bootstrap-select.min.css">
  <script src="https://cdn.bootcss.com/bootstrap-select/1.12.4/js/bootstrap-select.min.js"></script>
{% endblock %}

{% block pageBody %}
  <div class="page container">

    <h1 id="t-title"></h1>

    <div class="dl-horizontal">
      <dt>{% trans 'Commit Time' %}</dt> <dd id="t-time"></dd>
      <dt>{% trans 'Author' %}</dt> <dd id="t-author"></dd>
      <dt>{% trans 'Status' %}</dt> <dd id="t-status"></dd>
    </div>

    <div class="dividing dividing-fix"></div>
    <div id="task-content">
      <h3>{% trans 'Content' %}</h3>
      <div class="dl-horizontal">
          <dt>{% trans 'Dataset' %}</dt> <dd id="t-dataset"></dd>
          <dt>{% trans 'Algorithm' %}</dt> <dd id="t-algorithm"></dd>
          <dt>{% trans 'Label' %}</dt> <dd id="t-label"></dd>
          <dt>{% trans 'Features' %}</dt> <dd id="t-features"></dd>
          <dt>{% trans 'Params' %}</dt>
          <dd id="t-params">

          </dd>
          <dt>{% trans 'Result' %}</dt>
          <dd id="t-result-1">
          <a id="result_file">结果文件</a>
                <dd id="t-result">
                </dd>
          </dd>
          <dt>{% trans 'Visual Pictures' %}</dt>
          <dd id="t-visual">
{#              "<img src="/media/pics/task54.jpg" alt="result">"#}
          </dd>
      </div>
    </div>
    <div class="dividing dividing-fix"></div>
  </div>

{% endblock %}

{% block pageFootExtra %}
  <script src="{% static 'js/mlplatform/view_task.js' %}"></script>
{% endblock %}
